﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using ImageTools.Controls;
using ImageTools.IO.Gif;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace TestMatrix.Phone.JumpList
{
    public partial class Page1 : PhoneApplicationPage
    {
        private const string gif = "/Bumblebee5.gif";
        public Page1()
        {
            InitializeComponent();
            
            ImageTools.IO.Decoders.AddDecoder<GifDecoder>();
            ImageTools.ExtendedImage image = new ImageTools.ExtendedImage();
            image.UriSource = new Uri("http://cache.jieyang360.com/360/forum/201108/15/001349v7o3dhv7wv7oss0r.gif", UriKind.Absolute);
            imgGif.Source = image;
        }
        //public Uri ImageSource
        //{
        //    get
        //    {

        //        return new Uri(@"Images\Bumblebee5.gif", UriKind.Relative);
        //    }
        //}
    }
}